/* 商品详情页面 */
/* // 顶部 */
.myheader{
  background-color: rgb(91, 91, 241);
  h1{
    color: #fff;
  }
  a{
    color: #fff;
  }
}
/* // 底部 */
.footer{
  background-color: rgb(91, 91, 241);
  a.mui-active  span{
    color:orangered;
  }
  a.mui-active  i{
    color:orangered;
  }
  a{
    span{
      color: #fff;
    }
    i{
      color: #fff;
    }
  }
}

/* 轮播图 */
.detail-content{
  background-color: #fff;
  position: absolute;
  top: 44px;
  margin-bottom: 50px;
  left: 0;
  .name{
    padding: 10px;
    font-size: 16px;
  }
  .price{
    height: 46px;
    padding: 10px;
    font-size: 16px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    span:nth-of-type(2){
      color:red;
      font-size: 24px;
      margin-right: 10px;
    }
    span:nth-of-type(3){
      color:#ccc;
      font-size:12px;
      text-decoration: line-through;
    }
  }
  .size{
    padding: 10px;
    border-bottom: 1px solid #ccc;
    span{
      display: inline-block;
      width: 28px;
      height: 28px;
      border: 1px solid #ccc;
      text-align: center;
      line-height: 28px;
      margin-right: 5px;
      margin-bottom: 10px;
      font-size: 14px;
      &.active{
        color: #fff;
        background-color: orange;
      }
    }
  }
  .num{
    padding: 10px;
    color:#000;
    font-size: 14px;
    overflow: hidden;
    p{
      float: left;
      line-height: 28px;
      color:#000;
      font-size: 16px;
      &.solo{
        margin-left: 10px;
      }
    }
    span{
      float: left;
      width: 28px;
      height: 28px;
      border: 1px solid #ccc;
      text-align: center;
      line-height: 28px;
    }
    input{
      padding: 0;
      float: left;
      width: 28px;
      height: 28px;
      border:none;
      border-radius: 0; //若为none有间隙
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
      text-align: center;
    }
  }
  .btns{
    padding:0 10px 20px;
    width: 100%;
    overflow: hidden;
    span{
      float: left;  //浮动解决行内块的间隙
      width: 50%;
      height: 34px;
      border-radius: 5px;
      box-sizing: border-box;
      text-align: center;
      line-height: 34px;
      background-color: skyblue;
      color:#fff;
      font-size: 16px;
    }
  }
}